package com.ld.control.business.customer.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ld.control.business.customer.model.CustomerModel;
import com.ld.control.business.customer.vo.reqsp.CustomerRespVo;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author wangfeng
 * @since 2024-05-06
 */
public interface CustomerMapper extends BaseMapper<CustomerModel> {

    /**
     * 分页搜索客户列表
     * @param iPage
     * @param name
     * @param companyName
     * @return
     */
    IPage<CustomerRespVo> selectPageList(IPage<CustomerRespVo> iPage, @Param("name") String name, @Param("companyName") String companyName);

}
